#ifndef TRIANGLE_H
#define TRIANGLE_H

#include "vertex.h"

typedef enum { TRIANGLE, POLYGON_TRIANGLE } TriangleType;

class Triangle  
{
	public:	  
		Triangle( Vertex * _v1, 
				  Vertex * _v2, 
				  Vertex * _v3,
				  TriangleType type  );			
				  
		Triangle( Vertex * _v1, 
				  Vertex * _v2, 
				  Vertex * _v3 );			
		
		void setVertices( Vertex * _v1,
						  Vertex * _v2,
						  Vertex * _v3 );	
	
	public:	
		Vertex * vertices[3];
		int name;
		
};
#endif
